package com.mappertodb.domain;

public class Column {
	private String name;
	private String type;
	private Boolean isPrimary;

	public Column(){
		this.isPrimary = false;//默认非主键
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Boolean getIsPrimary() {
		return isPrimary;
	}

	public void setIsPrimary(Boolean isPrimary) {
		this.isPrimary = isPrimary;
	}

	public Boolean isPrimaryKey() {
		return this.isPrimary;
	}
}
